/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.records-container{
  margin: 30px 30px 0 30px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}

/* 筛选工具栏 */
.filters {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f9fbfd;
  transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: #2a5298;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

/* 申请记录卡片 */
.record {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.record.approved {
  border-left-color: #27ae60;
}

.record.pending {
  border-left-color: #f39c12;
}

.record.rejected {
  border-left-color: #e74c3c;
}

.record:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.record-item {
  //display: flex;
  //justify-content: space-between;
  //align-items: center;
  margin-bottom: 15px;
}
.record-content{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.applicant {
  font-weight: 500;
  font-size: 1.1rem;
  color: #1e3c72;
}

.applicant i {
  margin-right: 8px;
  color: #2a5298;
}

.status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status.approved {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status.pending {
  background: rgba(241, 196, 15, 0.15);
  color: #d35400;
}

.status.rejected {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
}

.creadtime {
  color: #777;
  font-size: 0.95rem;
  padding-top: 12px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
}

.creadtime i {
  margin-right: 8px;
  color: #7f8c8d;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 4rem;
  color: #bdc3c7;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #7f8c8d;
  margin-bottom: 15px;
}

/* 加载动画 */
.loading {
  text-align: center;
  padding: 30px;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #2a5298;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .record-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filters {
    flex-direction: column;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }
}
